package com.wnxy.sddfp.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.sddfp.common.model.dto.trade.BorrowRecordDTO;
import com.wnxy.sddfp.common.model.query.BorrowRecordQuery;
import com.wnxy.sddfp.common.model.query.Pages;
import com.wnxy.sddfp.common.model.vo.BorrowRecordVo;
import com.wnxy.sddfp.trade.entity.BorrowRecord;

/**
 * @author yellow Docter
 * @date 2023 -07-31
 * @desc
 */
public interface IBorrowRecordService extends IService<BorrowRecord> {
    String verifyStatus(Integer approveStatus, Long borrowRecordId);

    void addBorrowRecord(BorrowRecordDTO borrowRecordDTO);

    Pages<BorrowRecordVo> queryBorrowRecord(Integer pageNum, Integer pageSize, BorrowRecordQuery borrowRecordQuery);

}
